package com.gillion.grule.client.core;

import org.apache.commons.io.IOUtils;
import org.drools.core.io.impl.InputStreamResource;
import org.kie.api.io.Resource;



public class DroolsRuleCompiler implements RuleCompiler<Resource>
{
    public Resource compile(String content) {
        return (Resource)new InputStreamResource(IOUtils.toInputStream(content));
    }
}